/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.javanile.me.chessengine;

/**
 *
 * @author cicciodarkast
 */
public class Board {
	private char[] b;
	
	public Board(char[] board) {
		b = (char[])board.clone();
	}
	
	@Override
	public String toString() {
        String output = "";
        for(int r=0;r<12;r++) {
            for(int c=0;c<12;c++) {
                output+=b[r*12+c];
            }
            output+="\n";
        }        
        return output;
    }
	
	public void dump() {
		System.out.println(this.toString());
	}
}
